package com.ck.dp.BuilderPattern.builder;

import com.ck.dp.BuilderPattern.service.impl.ChickenBurger;
import com.ck.dp.BuilderPattern.service.impl.Coke;
import com.ck.dp.BuilderPattern.service.impl.Pepsi;
import com.ck.dp.BuilderPattern.service.impl.VegBurger;

public class MealBuilder {

	public Meal prepareVegMeal() {
		Meal meal = new Meal();
		meal.addItem(new VegBurger());
		meal.addItem(new Coke());
		return meal;
		
	}
	
	 public Meal prepareNonVegMeal (){
	      Meal meal = new Meal();
	      meal.addItem(new ChickenBurger());
	      meal.addItem(new Pepsi());
	      return meal;
	   }
}
